export enum PageType {
    SETTING,
    CAMERA
}

export interface CameraProps {
    changeConfig:(config:ConfigType)=>void,
    config:ConfigType,
}

export interface SettingProps {
    changeConfig:(config:ConfigType)=>void
    config:ConfigType
}

export interface ConfigType {
    deviceId:string,
    border?:string,
    color?:string,
    isRadius?:boolean,
    page?:PageType
}